SOLR-18060: CrossDC Consumer - add Prometheus metrics.#4044
Closed
sigram wants to merge 4 commits intoapache:mainfrom
Closed
SOLR-18060: CrossDC Consumer - add Prometheus metrics.#4044sigram wants to merge 4 commits intoapache:mainfrom
sigram wants to merge 4 commits intoapache:mainfrom
Conversation
Contributor
I am really not a fan of the Dropwizard -> Prometheus bridges that exist because it hacks around prometheus labels which is its main feature and the metrics look a bit low quality in its name. It would also be nice to try and remove any uses of Dropwizard and this PR will tightly couple it and users to this if when we just moved to OTEL in core. Being that this CrossDC is in it's own module and there are not that many metrics, maybe its ok? |
Contributor
Author
|
@mlbiscoc hmm, I see your point. I didn't want to make too many changes in one PR but maybe it's best to bite the bullet and simply port the Consumer over to Otel. I'll look into it. |
Contributor
Author
|
See PR #4063 for alternative approach. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds /metrics/prometheus to the CrossDC Consumer, in addition to the existing Dropwizard JSON metrics endpoint (moved under /metrics/json).
Prometheus 1.4.3 was selected for this module for several reasons: